package com.suisung.shopsuite.trade.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.suisung.shopsuite.account.model.entity.UserInfo;
import com.suisung.shopsuite.trade.model.vo.OrderVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
@TableName("trade_order_reminder")
@ApiModel(value = "OrderReminder对象", description = "订单催发货表")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class OrderReminder {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("催单编号")
    @TableId(value = "urge_id")
    private String urgeId;

    @ApiModelProperty("订单编号")
    @TableField(value = "order_id")
    private String orderId;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private OrderInfo orderInfo;

    @TableField(exist = false)
    private OrderVo userbase;
}
